import React, { memo } from 'react'
// 对包含在HeaderWrapper的标签做样式编写
import { HeaderWrapper } from './style'

// 将头部三部分内容分拆
import HeaderLeft from './c-cnps/header-left'
import HeaderCenter from './c-cnps/header-center'
import HeaderRigh from './c-cnps/header-righ'

const Header = memo(() => {
  return (
    <HeaderWrapper>
      <HeaderLeft/>
      <HeaderCenter/>
      <HeaderRigh/>
    </HeaderWrapper>
  )
})

export default Header